﻿@model PessModel.PaperRule

@{
    ViewBag.Title = "Create";
}

<h2>New Paper Review Rule</h2>

<div id="operate">
    @Html.ActionLink("Back", "Index", "Rule",new { activityID = ViewBag.ActID }, null)
</div>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset class="create">
        <legend></legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.ActivityID, "Activity")
        </div>
        <div class="editor-field">
            @Html.DropDownList("ActivityID")
            @Html.ValidationMessageFor(model => model.ActivityID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Value)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Value)
            @Html.ValidationMessageFor(model => model.Value)
        </div>

        <div class="editor-btn">
            <input type="submit" value="Create" />
        </div>
    </fieldset>
}


